package com.wanxi.education.mapper;

import com.wanxi.education.model.vo.advertandcertificate.AdvertAddVo;
import com.wanxi.education.model.vo.advertandcertificate.AdvertVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: yanguangqiong
 * @Description:
 * @Date: Created in 2021/9/28
 * @Version: 1.0
 */
@Repository
public interface AdvertMapper {

    List<AdvertAddVo> findPage();

    AdvertAddVo findById(Long advertId);

    void add(AdvertAddVo advertAddVo);

    void update(AdvertAddVo advertAddVo);

    void delete(Long advertId);

    List<AdvertVo> findPageForFront();
}
